package com.cloud.sso.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class RoleSaveDto {

    private String id;

    @NotNull(message = "角色名称不能为空")
    private String roleName;

    @NotNull(message = "角色code不能为空")
    private String roleCode;

    @NotNull(message = "所属应用不能为空")
    private String appId;


}
